package org.hawk.gwt.ppc.parser;

import java.util.List;

/**
 * Descriptor that describes element that may have some annotations attached to it.
 * 
 * @author alex.bereznevatiy@gmail.com
 *
 */
public interface AnnotatedDescriptor extends Descriptor {
	
	/**
	 * @return unmodifiable list of all annotations attached to element in order they are 
	 * appears in the sources. Never returns <code>null</code>.
	 */
	List<AnnotationDescriptor> getAnnotations();
}
